package com.yimi.yinhepda.entity.response;

import com.yimi.yinhepda.entity.bean.DepartmentInfoEntity;
import com.yimi.yinhepda.entity.bean.UserInfoEntity;

import java.util.List;

/**
 * 查询部门和该部门所有用户响应实体
 *
 * @author lj
 */
public class QueryUsersAndDeptResponse {
    private Data data;
    private boolean success;

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class Data {
        private DepartmentInfoEntity departmentVo;
        private List<UserInfoEntity> userList;

        public DepartmentInfoEntity getDepartmentVo() {
            return departmentVo;
        }

        public void setDepartmentVo(DepartmentInfoEntity departmentVo) {
            this.departmentVo = departmentVo;
        }

        public List<UserInfoEntity> getUserList() {
            return userList;
        }

        public void setUserList(List<UserInfoEntity> userList) {
            this.userList = userList;
        }
    }
}
